package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * 友情链接业务对象 friend_links
 *
 * @author ruoyi
 * @date 2025-08-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class FriendLinksBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 链接名称
     */
    @NotBlank(message = "链接名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 链接地址
     */
    @NotBlank(message = "链接地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;

    /**
     * 是否显示(1是,0否)
     */
    @NotNull(message = "是否显示(1是,0否)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isVisible;

    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;
}
